package top.wintp.offlinedataanalysis.anlyser.domain;

import java.util.ArrayList;
import java.util.List;

public class StatsViewDepthExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public StatsViewDepthExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPlatformDimensionIdIsNull() {
            addCriterion("platform_dimension_id is null");
            return (Criteria) this;
        }

        public Criteria andPlatformDimensionIdIsNotNull() {
            addCriterion("platform_dimension_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformDimensionIdEqualTo(Long value) {
            addCriterion("platform_dimension_id =", value, "platformDimensionId");
            return (Criteria) this;
        }

        public Criteria andPlatformDimensionIdNotEqualTo(Long value) {
            addCriterion("platform_dimension_id <>", value, "platformDimensionId");
            return (Criteria) this;
        }

        public Criteria andPlatformDimensionIdGreaterThan(Long value) {
            addCriterion("platform_dimension_id >", value, "platformDimensionId");
            return (Criteria) this;
        }

        public Criteria andPlatformDimensionIdGreaterThanOrEqualTo(Long value) {
            addCriterion("platform_dimension_id >=", value, "platformDimensionId");
            return (Criteria) this;
        }

        public Criteria andPlatformDimensionIdLessThan(Long value) {
            addCriterion("platform_dimension_id <", value, "platformDimensionId");
            return (Criteria) this;
        }

        public Criteria andPlatformDimensionIdLessThanOrEqualTo(Long value) {
            addCriterion("platform_dimension_id <=", value, "platformDimensionId");
            return (Criteria) this;
        }

        public Criteria andPlatformDimensionIdIn(List<Long> values) {
            addCriterion("platform_dimension_id in", values, "platformDimensionId");
            return (Criteria) this;
        }

        public Criteria andPlatformDimensionIdNotIn(List<Long> values) {
            addCriterion("platform_dimension_id not in", values, "platformDimensionId");
            return (Criteria) this;
        }

        public Criteria andPlatformDimensionIdBetween(Long value1, Long value2) {
            addCriterion("platform_dimension_id between", value1, value2, "platformDimensionId");
            return (Criteria) this;
        }

        public Criteria andPlatformDimensionIdNotBetween(Long value1, Long value2) {
            addCriterion("platform_dimension_id not between", value1, value2, "platformDimensionId");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdIsNull() {
            addCriterion("date_dimension_id is null");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdIsNotNull() {
            addCriterion("date_dimension_id is not null");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdEqualTo(Long value) {
            addCriterion("date_dimension_id =", value, "dateDimensionId");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdNotEqualTo(Long value) {
            addCriterion("date_dimension_id <>", value, "dateDimensionId");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdGreaterThan(Long value) {
            addCriterion("date_dimension_id >", value, "dateDimensionId");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdGreaterThanOrEqualTo(Long value) {
            addCriterion("date_dimension_id >=", value, "dateDimensionId");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdLessThan(Long value) {
            addCriterion("date_dimension_id <", value, "dateDimensionId");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdLessThanOrEqualTo(Long value) {
            addCriterion("date_dimension_id <=", value, "dateDimensionId");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdIn(List<Long> values) {
            addCriterion("date_dimension_id in", values, "dateDimensionId");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdNotIn(List<Long> values) {
            addCriterion("date_dimension_id not in", values, "dateDimensionId");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdBetween(Long value1, Long value2) {
            addCriterion("date_dimension_id between", value1, value2, "dateDimensionId");
            return (Criteria) this;
        }

        public Criteria andDateDimensionIdNotBetween(Long value1, Long value2) {
            addCriterion("date_dimension_id not between", value1, value2, "dateDimensionId");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdIsNull() {
            addCriterion("kpi_dimension_id is null");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdIsNotNull() {
            addCriterion("kpi_dimension_id is not null");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdEqualTo(Long value) {
            addCriterion("kpi_dimension_id =", value, "kpiDimensionId");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdNotEqualTo(Long value) {
            addCriterion("kpi_dimension_id <>", value, "kpiDimensionId");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdGreaterThan(Long value) {
            addCriterion("kpi_dimension_id >", value, "kpiDimensionId");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdGreaterThanOrEqualTo(Long value) {
            addCriterion("kpi_dimension_id >=", value, "kpiDimensionId");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdLessThan(Long value) {
            addCriterion("kpi_dimension_id <", value, "kpiDimensionId");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdLessThanOrEqualTo(Long value) {
            addCriterion("kpi_dimension_id <=", value, "kpiDimensionId");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdIn(List<Long> values) {
            addCriterion("kpi_dimension_id in", values, "kpiDimensionId");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdNotIn(List<Long> values) {
            addCriterion("kpi_dimension_id not in", values, "kpiDimensionId");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdBetween(Long value1, Long value2) {
            addCriterion("kpi_dimension_id between", value1, value2, "kpiDimensionId");
            return (Criteria) this;
        }

        public Criteria andKpiDimensionIdNotBetween(Long value1, Long value2) {
            addCriterion("kpi_dimension_id not between", value1, value2, "kpiDimensionId");
            return (Criteria) this;
        }

        public Criteria andPv1IsNull() {
            addCriterion("pv1 is null");
            return (Criteria) this;
        }

        public Criteria andPv1IsNotNull() {
            addCriterion("pv1 is not null");
            return (Criteria) this;
        }

        public Criteria andPv1EqualTo(Long value) {
            addCriterion("pv1 =", value, "pv1");
            return (Criteria) this;
        }

        public Criteria andPv1NotEqualTo(Long value) {
            addCriterion("pv1 <>", value, "pv1");
            return (Criteria) this;
        }

        public Criteria andPv1GreaterThan(Long value) {
            addCriterion("pv1 >", value, "pv1");
            return (Criteria) this;
        }

        public Criteria andPv1GreaterThanOrEqualTo(Long value) {
            addCriterion("pv1 >=", value, "pv1");
            return (Criteria) this;
        }

        public Criteria andPv1LessThan(Long value) {
            addCriterion("pv1 <", value, "pv1");
            return (Criteria) this;
        }

        public Criteria andPv1LessThanOrEqualTo(Long value) {
            addCriterion("pv1 <=", value, "pv1");
            return (Criteria) this;
        }

        public Criteria andPv1In(List<Long> values) {
            addCriterion("pv1 in", values, "pv1");
            return (Criteria) this;
        }

        public Criteria andPv1NotIn(List<Long> values) {
            addCriterion("pv1 not in", values, "pv1");
            return (Criteria) this;
        }

        public Criteria andPv1Between(Long value1, Long value2) {
            addCriterion("pv1 between", value1, value2, "pv1");
            return (Criteria) this;
        }

        public Criteria andPv1NotBetween(Long value1, Long value2) {
            addCriterion("pv1 not between", value1, value2, "pv1");
            return (Criteria) this;
        }

        public Criteria andPv2IsNull() {
            addCriterion("pv2 is null");
            return (Criteria) this;
        }

        public Criteria andPv2IsNotNull() {
            addCriterion("pv2 is not null");
            return (Criteria) this;
        }

        public Criteria andPv2EqualTo(Long value) {
            addCriterion("pv2 =", value, "pv2");
            return (Criteria) this;
        }

        public Criteria andPv2NotEqualTo(Long value) {
            addCriterion("pv2 <>", value, "pv2");
            return (Criteria) this;
        }

        public Criteria andPv2GreaterThan(Long value) {
            addCriterion("pv2 >", value, "pv2");
            return (Criteria) this;
        }

        public Criteria andPv2GreaterThanOrEqualTo(Long value) {
            addCriterion("pv2 >=", value, "pv2");
            return (Criteria) this;
        }

        public Criteria andPv2LessThan(Long value) {
            addCriterion("pv2 <", value, "pv2");
            return (Criteria) this;
        }

        public Criteria andPv2LessThanOrEqualTo(Long value) {
            addCriterion("pv2 <=", value, "pv2");
            return (Criteria) this;
        }

        public Criteria andPv2In(List<Long> values) {
            addCriterion("pv2 in", values, "pv2");
            return (Criteria) this;
        }

        public Criteria andPv2NotIn(List<Long> values) {
            addCriterion("pv2 not in", values, "pv2");
            return (Criteria) this;
        }

        public Criteria andPv2Between(Long value1, Long value2) {
            addCriterion("pv2 between", value1, value2, "pv2");
            return (Criteria) this;
        }

        public Criteria andPv2NotBetween(Long value1, Long value2) {
            addCriterion("pv2 not between", value1, value2, "pv2");
            return (Criteria) this;
        }

        public Criteria andPv3IsNull() {
            addCriterion("pv3 is null");
            return (Criteria) this;
        }

        public Criteria andPv3IsNotNull() {
            addCriterion("pv3 is not null");
            return (Criteria) this;
        }

        public Criteria andPv3EqualTo(Long value) {
            addCriterion("pv3 =", value, "pv3");
            return (Criteria) this;
        }

        public Criteria andPv3NotEqualTo(Long value) {
            addCriterion("pv3 <>", value, "pv3");
            return (Criteria) this;
        }

        public Criteria andPv3GreaterThan(Long value) {
            addCriterion("pv3 >", value, "pv3");
            return (Criteria) this;
        }

        public Criteria andPv3GreaterThanOrEqualTo(Long value) {
            addCriterion("pv3 >=", value, "pv3");
            return (Criteria) this;
        }

        public Criteria andPv3LessThan(Long value) {
            addCriterion("pv3 <", value, "pv3");
            return (Criteria) this;
        }

        public Criteria andPv3LessThanOrEqualTo(Long value) {
            addCriterion("pv3 <=", value, "pv3");
            return (Criteria) this;
        }

        public Criteria andPv3In(List<Long> values) {
            addCriterion("pv3 in", values, "pv3");
            return (Criteria) this;
        }

        public Criteria andPv3NotIn(List<Long> values) {
            addCriterion("pv3 not in", values, "pv3");
            return (Criteria) this;
        }

        public Criteria andPv3Between(Long value1, Long value2) {
            addCriterion("pv3 between", value1, value2, "pv3");
            return (Criteria) this;
        }

        public Criteria andPv3NotBetween(Long value1, Long value2) {
            addCriterion("pv3 not between", value1, value2, "pv3");
            return (Criteria) this;
        }

        public Criteria andPv4IsNull() {
            addCriterion("pv4 is null");
            return (Criteria) this;
        }

        public Criteria andPv4IsNotNull() {
            addCriterion("pv4 is not null");
            return (Criteria) this;
        }

        public Criteria andPv4EqualTo(Long value) {
            addCriterion("pv4 =", value, "pv4");
            return (Criteria) this;
        }

        public Criteria andPv4NotEqualTo(Long value) {
            addCriterion("pv4 <>", value, "pv4");
            return (Criteria) this;
        }

        public Criteria andPv4GreaterThan(Long value) {
            addCriterion("pv4 >", value, "pv4");
            return (Criteria) this;
        }

        public Criteria andPv4GreaterThanOrEqualTo(Long value) {
            addCriterion("pv4 >=", value, "pv4");
            return (Criteria) this;
        }

        public Criteria andPv4LessThan(Long value) {
            addCriterion("pv4 <", value, "pv4");
            return (Criteria) this;
        }

        public Criteria andPv4LessThanOrEqualTo(Long value) {
            addCriterion("pv4 <=", value, "pv4");
            return (Criteria) this;
        }

        public Criteria andPv4In(List<Long> values) {
            addCriterion("pv4 in", values, "pv4");
            return (Criteria) this;
        }

        public Criteria andPv4NotIn(List<Long> values) {
            addCriterion("pv4 not in", values, "pv4");
            return (Criteria) this;
        }

        public Criteria andPv4Between(Long value1, Long value2) {
            addCriterion("pv4 between", value1, value2, "pv4");
            return (Criteria) this;
        }

        public Criteria andPv4NotBetween(Long value1, Long value2) {
            addCriterion("pv4 not between", value1, value2, "pv4");
            return (Criteria) this;
        }

        public Criteria andPv510IsNull() {
            addCriterion("pv5_10 is null");
            return (Criteria) this;
        }

        public Criteria andPv510IsNotNull() {
            addCriterion("pv5_10 is not null");
            return (Criteria) this;
        }

        public Criteria andPv510EqualTo(Long value) {
            addCriterion("pv5_10 =", value, "pv510");
            return (Criteria) this;
        }

        public Criteria andPv510NotEqualTo(Long value) {
            addCriterion("pv5_10 <>", value, "pv510");
            return (Criteria) this;
        }

        public Criteria andPv510GreaterThan(Long value) {
            addCriterion("pv5_10 >", value, "pv510");
            return (Criteria) this;
        }

        public Criteria andPv510GreaterThanOrEqualTo(Long value) {
            addCriterion("pv5_10 >=", value, "pv510");
            return (Criteria) this;
        }

        public Criteria andPv510LessThan(Long value) {
            addCriterion("pv5_10 <", value, "pv510");
            return (Criteria) this;
        }

        public Criteria andPv510LessThanOrEqualTo(Long value) {
            addCriterion("pv5_10 <=", value, "pv510");
            return (Criteria) this;
        }

        public Criteria andPv510In(List<Long> values) {
            addCriterion("pv5_10 in", values, "pv510");
            return (Criteria) this;
        }

        public Criteria andPv510NotIn(List<Long> values) {
            addCriterion("pv5_10 not in", values, "pv510");
            return (Criteria) this;
        }

        public Criteria andPv510Between(Long value1, Long value2) {
            addCriterion("pv5_10 between", value1, value2, "pv510");
            return (Criteria) this;
        }

        public Criteria andPv510NotBetween(Long value1, Long value2) {
            addCriterion("pv5_10 not between", value1, value2, "pv510");
            return (Criteria) this;
        }

        public Criteria andPv1030IsNull() {
            addCriterion("pv10_30 is null");
            return (Criteria) this;
        }

        public Criteria andPv1030IsNotNull() {
            addCriterion("pv10_30 is not null");
            return (Criteria) this;
        }

        public Criteria andPv1030EqualTo(Long value) {
            addCriterion("pv10_30 =", value, "pv1030");
            return (Criteria) this;
        }

        public Criteria andPv1030NotEqualTo(Long value) {
            addCriterion("pv10_30 <>", value, "pv1030");
            return (Criteria) this;
        }

        public Criteria andPv1030GreaterThan(Long value) {
            addCriterion("pv10_30 >", value, "pv1030");
            return (Criteria) this;
        }

        public Criteria andPv1030GreaterThanOrEqualTo(Long value) {
            addCriterion("pv10_30 >=", value, "pv1030");
            return (Criteria) this;
        }

        public Criteria andPv1030LessThan(Long value) {
            addCriterion("pv10_30 <", value, "pv1030");
            return (Criteria) this;
        }

        public Criteria andPv1030LessThanOrEqualTo(Long value) {
            addCriterion("pv10_30 <=", value, "pv1030");
            return (Criteria) this;
        }

        public Criteria andPv1030In(List<Long> values) {
            addCriterion("pv10_30 in", values, "pv1030");
            return (Criteria) this;
        }

        public Criteria andPv1030NotIn(List<Long> values) {
            addCriterion("pv10_30 not in", values, "pv1030");
            return (Criteria) this;
        }

        public Criteria andPv1030Between(Long value1, Long value2) {
            addCriterion("pv10_30 between", value1, value2, "pv1030");
            return (Criteria) this;
        }

        public Criteria andPv1030NotBetween(Long value1, Long value2) {
            addCriterion("pv10_30 not between", value1, value2, "pv1030");
            return (Criteria) this;
        }

        public Criteria andPv3060IsNull() {
            addCriterion("pv30_60 is null");
            return (Criteria) this;
        }

        public Criteria andPv3060IsNotNull() {
            addCriterion("pv30_60 is not null");
            return (Criteria) this;
        }

        public Criteria andPv3060EqualTo(Long value) {
            addCriterion("pv30_60 =", value, "pv3060");
            return (Criteria) this;
        }

        public Criteria andPv3060NotEqualTo(Long value) {
            addCriterion("pv30_60 <>", value, "pv3060");
            return (Criteria) this;
        }

        public Criteria andPv3060GreaterThan(Long value) {
            addCriterion("pv30_60 >", value, "pv3060");
            return (Criteria) this;
        }

        public Criteria andPv3060GreaterThanOrEqualTo(Long value) {
            addCriterion("pv30_60 >=", value, "pv3060");
            return (Criteria) this;
        }

        public Criteria andPv3060LessThan(Long value) {
            addCriterion("pv30_60 <", value, "pv3060");
            return (Criteria) this;
        }

        public Criteria andPv3060LessThanOrEqualTo(Long value) {
            addCriterion("pv30_60 <=", value, "pv3060");
            return (Criteria) this;
        }

        public Criteria andPv3060In(List<Long> values) {
            addCriterion("pv30_60 in", values, "pv3060");
            return (Criteria) this;
        }

        public Criteria andPv3060NotIn(List<Long> values) {
            addCriterion("pv30_60 not in", values, "pv3060");
            return (Criteria) this;
        }

        public Criteria andPv3060Between(Long value1, Long value2) {
            addCriterion("pv30_60 between", value1, value2, "pv3060");
            return (Criteria) this;
        }

        public Criteria andPv3060NotBetween(Long value1, Long value2) {
            addCriterion("pv30_60 not between", value1, value2, "pv3060");
            return (Criteria) this;
        }

        public Criteria andPv60PlusIsNull() {
            addCriterion("pv60_plus is null");
            return (Criteria) this;
        }

        public Criteria andPv60PlusIsNotNull() {
            addCriterion("pv60_plus is not null");
            return (Criteria) this;
        }

        public Criteria andPv60PlusEqualTo(Long value) {
            addCriterion("pv60_plus =", value, "pv60Plus");
            return (Criteria) this;
        }

        public Criteria andPv60PlusNotEqualTo(Long value) {
            addCriterion("pv60_plus <>", value, "pv60Plus");
            return (Criteria) this;
        }

        public Criteria andPv60PlusGreaterThan(Long value) {
            addCriterion("pv60_plus >", value, "pv60Plus");
            return (Criteria) this;
        }

        public Criteria andPv60PlusGreaterThanOrEqualTo(Long value) {
            addCriterion("pv60_plus >=", value, "pv60Plus");
            return (Criteria) this;
        }

        public Criteria andPv60PlusLessThan(Long value) {
            addCriterion("pv60_plus <", value, "pv60Plus");
            return (Criteria) this;
        }

        public Criteria andPv60PlusLessThanOrEqualTo(Long value) {
            addCriterion("pv60_plus <=", value, "pv60Plus");
            return (Criteria) this;
        }

        public Criteria andPv60PlusIn(List<Long> values) {
            addCriterion("pv60_plus in", values, "pv60Plus");
            return (Criteria) this;
        }

        public Criteria andPv60PlusNotIn(List<Long> values) {
            addCriterion("pv60_plus not in", values, "pv60Plus");
            return (Criteria) this;
        }

        public Criteria andPv60PlusBetween(Long value1, Long value2) {
            addCriterion("pv60_plus between", value1, value2, "pv60Plus");
            return (Criteria) this;
        }

        public Criteria andPv60PlusNotBetween(Long value1, Long value2) {
            addCriterion("pv60_plus not between", value1, value2, "pv60Plus");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNull() {
            addCriterion("created is null");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNotNull() {
            addCriterion("created is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedEqualTo(String value) {
            addCriterion("created =", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotEqualTo(String value) {
            addCriterion("created <>", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThan(String value) {
            addCriterion("created >", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThanOrEqualTo(String value) {
            addCriterion("created >=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThan(String value) {
            addCriterion("created <", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThanOrEqualTo(String value) {
            addCriterion("created <=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLike(String value) {
            addCriterion("created like", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotLike(String value) {
            addCriterion("created not like", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedIn(List<String> values) {
            addCriterion("created in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotIn(List<String> values) {
            addCriterion("created not in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedBetween(String value1, String value2) {
            addCriterion("created between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotBetween(String value1, String value2) {
            addCriterion("created not between", value1, value2, "created");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}